package com.himore.api.common.constant;

/**
 * 用户常量信息
 * 
 * @author dongwang
 */
public class UserConstants{
    /**
     * 平台内系统用户的唯一标志
     */
    public static final String SYS_USER = "SYS_USER";

    /** 正常状态 */
    public static final String NORMAL = "0";

    /** 异常状态 */
    public static final String EXCEPTION = "1";

    /** 用户封禁状态 */
    public static final String USER_DISABLE = "1";

    /** 角色封禁状态 */
    public static final String ROLE_DISABLE = "1";

    /** 部门正常状态 */
    public static final String DEPT_NORMAL = "0";

    /** 部门停用状态 */
    public static final String DEPT_DISABLE = "1";

    /** 字典正常状态 */
    public static final String DICT_NORMAL = "0";

    /** 是否为系统默认（是） */
    public static final String YES = "Y";

    /** 是否菜单外链（是） */
    public static final String YES_FRAME = "0";

    /** 是否菜单外链（否） */
    public static final String NO_FRAME = "1";

    /** 菜单类型（目录） */
    public static final String TYPE_DIR = "M";

    /** 菜单类型（菜单） */
    public static final String TYPE_MENU = "C";

    /** 菜单类型（按钮） */
    public static final String TYPE_BUTTON = "F";

    /** Layout组件标识 */
    public final static String LAYOUT = "Layout";

    /** ParentView组件标识 */
    public final static String PARENT_VIEW = "ParentView";

    /** 校验返回结果码 */
    public final static String UNIQUE = "0";
    public final static String NOT_UNIQUE = "1";

    /**
     * 密码长度限制
     */
    public static final int PASSWORD_MIN_LENGTH = 5;
    public static final int PASSWORD_MAX_LENGTH = 20;

    /**
     * 用户名长度限制
     */
    public static final int USERNAME_MIN_LENGTH = 2;
    public static final int USERNAME_MAX_LENGTH = 20;

    /** 登录名称是否唯一的返回结果码 */
    public final static String USER_NAME_UNIQUE = "0";
    public final static String USER_NAME_NOT_UNIQUE = "1";

    /** 手机号码是否唯一的返回结果 */
    public final static String USER_PHONE_UNIQUE = "0";
    public final static String USER_PHONE_NOT_UNIQUE = "1";

    /** 手机号码是否唯一的返回结果 */
    public final static String PERMITTED = "1";
    public final static String UNPERMITTED = "2";
    //微信登录请求信息的api地址
    public final static String WX_LOGIN_URL = "https://api.weixin.qq.com/sns/jscode2session";

    //微信请求 ACCESS信息的api地址
    public final static String WX_ACCESS_URL = "https://api.weixin.qq.com/cgi-bin/token";

    //微信发送服务信息的api地址
    public final static String WX_SUBSCRIBE_URL = "https://api.weixin.qq.com/cgi-bin/message/subscribe/send";

    //微信发送服务信息的api地址
    public final static String WX_PUBLIC_URL = "https://api.weixin.qq.com/cgi-bin/message/wxopen/template/uniform_send";




    //微信发送服务信息的模板IDTEMPLATE_ID
    public final static String WX_DTEMPLATE_ID = "LqWi_pKiHRxsM9qTNyWwRjfUHVyjEZQ4MzwVhO3kw-s";

    public final static String WX_REQ_SUCC = "0";

    public final static String WX_GRANT_TYPE = "authorization_code";

    public final static String WX_APPID = "wx14e73b25654f2308";

    public final static String WX_APP_SECRET = "87ee49cc145db259320b69d037a60b7a";


    public final static String WX_ERROR_CODE = "40001";

    public final static String WX_TEMPLATE_ID = "uwR7Ud0Jp5wBmCkDTHO5Qk29b0tBUPY1GxKYsGp98oc";

    public final static String WX_PUBLIC_APP_ID = "wx94eb025467b01f6a";

    public final static String WX_DOWN_URL = "http://weixin.qq.com/download";




    public final static String OUTCOME_TYPE_FREE = "5";


    public final static String TCLOUUD_SELECTID = "AKIDAvnTRAW5C4mT8gDMUTn0ylQDl32pup47";

    public final static String TCLOUUD_SELECTKEY = "Tw9z7zdzBZllhNnzmgRzKyPbXEwPfeU5";

    public final static String TCLOUUD_SELECTREGION = "ap-beijing";


    public final static String TCLOUUD_BUCKET_NAME = "hsmw-tool-pic-1303885219";



    public final static String TCLOUUD_FILE_PREFFIX= "https://hsmw-tool-pic-1303885219.cos.ap-beijing.myqcloud.com/";


    public static final String TOKEN_HEADER = "Authorization";





















}
